package com.witframework.dynoengine.render.form;

import com.witframework.dynoengine.Converter;


public class DateRender extends FormFieldRender{
	
	public String render() {		
		html.input("text").name((String)getParameter(super.PARAM_name));
		html.size(String.valueOf(getParameter(super.PARAM_size)));
		String tooltipText=(String)getParameter(super.PARAM_tiptext);
		html.append("tooltipText=\""+(tooltipText==null?"":tooltipText)+"\"");
		html.value(Converter.convertToString(getParameter(super.PARAM_value)));
		html.close();
		return html.toString();
	}

}
